﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace craigsPack
{
    public struct CityArea
    {
        public static readonly CityArea La = new CityArea("losangeles", null, null);
        public static readonly CityArea Ventura = new CityArea("ventura", null, null);

        private readonly string name;
        private readonly string areaId;
        private readonly string subId;

        internal CityArea(string name,string areaId,string subId)
            :this()
        {
            this.name = name;
            this.areaId = areaId;
            this.subId = subId;
        }
        public string Name
        {
            get { return name; }
        }
        public string AreaId
        {
            get { return areaId; }
        }
        public string SubId
        {
            get { return subId; }
        }
    }
}
